import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
//@ts-ignore
// import Worker from "./Header/example.js?worker";
// const worker = new Worker();
// // 2. 主线程监听 worker 的信息
// worker.addEventListener("message", e => {
//   console.log(e);
// });
ReactDOM.createRoot(document.getElementById("root")!).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);
